package com.itsu.interfaces.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itsu.interfaces.entity.Comment;
import com.itsu.interfaces.entity.FollowUser;
import com.itsu.interfaces.entity.Video;
import org.bson.types.ObjectId;

import java.util.List;

public interface VideoService {

    void saveVideo(Video video);

    Video getVideoById(ObjectId id);

    void userFocus(FollowUser followUser);

    void userUnFocus(FollowUser followUser);

    List<Video> getVideos();

    List<Video> randomVideo(Integer pageSize);

    Long hasFocus(Long userId,Long publishId);

    List<Video> getVideosByUid(Long Uid);

    List<Video> pageVideoLogs(Integer page, Integer pageSize, String sortProp, String sub, Long uid);
}
